package com.mars.miaosha.dao;

import com.mars.miaosha.domain.MiaoshaUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * @author MARS
 * @date 2018/5/8
 */

@Mapper
public interface MiaoshaUserDao {

    @Select("select * from ms_user where id = #{id}")
    public MiaoshaUser getById(@Param("id")Long id);
}
